<script setup lang="ts">
// This starter template is using Vue 3 <script setup> SFCs
// Check out https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup
import uploaderFiles from "./components/uploader-files.vue";
</script>

<template>
  <div class="common-layout">
    <el-container>
      <div style="height: 60px"></div>
      <el-header>大文件断点上传demo</el-header>
      <uploaderFiles />
      <div style="height: 60px"></div>
      <el-footer>研发部技术支持</el-footer>
    </el-container>
  </div>
</template>

<style scoped lang="scss">
.common-layout {
  .el-header,
  .el-footer {
    background-color: #b3c0d1;
    color: var(--el-text-color-primary);
    text-align: center;
    line-height: 60px;
    z-index: 99;
  }

  .el-header {
    width: 100%;
    position: fixed;
    top: 0;
  }

  .el-footer {
    width: 100%;
    line-height: 60px;
    position: fixed;
    bottom: 0;
  }
}
</style>
